Optimal. Leaf size=29 \[ \frac{x^3}{4 \left (1-x^4\right )}+\frac{3}{8} \tan ^{-1}(x)-\frac{3}{8} \tanh ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0077958, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.312, Rules used = {28, 288, 298, 203, 206} \[ \frac{x^3}{4 \left (1-x^4\right )}+\frac{3}{8} \tan ^{-1}(x)-\frac{3}{8} \tanh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 288
Rule 298
Rule 203
Rule 206
Rubi steps
\begin{align*} \int \frac{x^6}{1-2 x^4+x^8} \, dx &=\int \frac{x^6}{\left (-1+x^4\right )^2} \, dx\\ &=\frac{x^3}{4 \left (1-x^4\right )}+\frac{3}{4} \int \frac{x^2}{-1+x^4} \, dx\\ &=\frac{x^3}{4 \left (1-x^4\right )}-\frac{3}{8} \int \frac{1}{1-x^2} \, dx+\frac{3}{8} \int \frac{1}{1+x^2} \, dx\\ &=\frac{x^3}{4 \left (1-x^4\right )}+\frac{3}{8} \tan ^{-1}(x)-\frac{3}{8} \tanh ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0162542, size = 35, normalized size = 1.21 \[ \frac{1}{16} \left (-\frac{4 x^3}{x^4-1}+3 \log (1-x)-3 \log (x+1)+6 \tan ^{-1}(x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.011, size = 42, normalized size = 1.5 \begin{align*} -{\frac{x}{8\,{x}^{2}+8}}+{\frac{3\,\arctan \left ( x \right ) }{8}}-{\frac{1}{16+16\,x}}-{\frac{3\,\ln \left ( 1+x \right ) }{16}}-{\frac{1}{16\,x-16}}+{\frac{3\,\ln \left ( x-1 \right ) }{16}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.49676, size = 39, normalized size = 1.34 \begin{align*} -\frac{x^{3}}{4 \,{\left (x^{4} - 1\right )}} + \frac{3}{8} \, \arctan \left (x\right ) - \frac{3}{16} \, \log \left (x + 1\right ) + \frac{3}{16} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.45841, size = 134, normalized size = 4.62 \begin{align*} -\frac{4 \, x^{3} - 6 \,{\left (x^{4} - 1\right )} \arctan \left (x\right ) + 3 \,{\left (x^{4} - 1\right )} \log \left (x + 1\right ) - 3 \,{\left (x^{4} - 1\right )} \log \left (x - 1\right )}{16 \,{\left (x^{4} - 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.157046, size = 32, normalized size = 1.1 \begin{align*} - \frac{x^{3}}{4 x^{4} - 4} + \frac{3 \log{\left (x - 1 \right )}}{16} - \frac{3 \log{\left (x + 1 \right )}}{16} + \frac{3 \operatorname{atan}{\left (x \right )}}{8} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10297, size = 42, normalized size = 1.45 \begin{align*} -\frac{x^{3}}{4 \,{\left (x^{4} - 1\right )}} + \frac{3}{8} \, \arctan \left (x\right ) - \frac{3}{16} \, \log \left ({\left | x + 1 \right |}\right ) + \frac{3}{16} \, \log \left ({\left | x - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]